﻿using System;

namespace Stimulus360.Models.Data.CustomTypes
{
    /// <summary>
    ///     Class represents a summarized view of the Project entity
    /// </summary>
    public class ProjectSummary
    {
        /// <summary>
        ///     The Project ID
        /// </summary>
        public int ProjectId { get; set; }

        /// <summary>
        ///     The Project Title
        /// </summary>
        public string ProjectTitle { get; set; }

        /// <summary>
        ///     Name of the Project Submitter
        /// </summary>
        public string Submitter { get; set; }

        /// <summary>
        ///     The Project Submitted date
        /// </summary>
        public DateTime SubmittedDate { get; set; }

        /// <summary>
        ///     The Project Average Rating
        /// </summary>
        public double AverageRating { get; set; }

        /// <summary>
        ///     The count of number of users who have marked this project as favorite
        /// </summary>
        public int FavoritesCount{get;set;}

        /// <summary>
        ///     Count of number of users who have rated this proj
        /// </summary>
        public int UserRatingsCount { get; set; }

        /// <summary>
        ///     String representation of the Project status.
        /// </summary>
        public string StatusString { get; set; }

        /// <summary>
        ///     Boolean value represents the Project's VolunteersRequired property
        /// </summary>
        public bool VolunteersRequired { get; set; }
    }
}
